#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.61)
AC_INIT(2socks, 0.1,[hojin.choi@gmail.com])
AC_CONFIG_SRCDIR([2socks.c])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE

# Checks for programs.
AC_PROG_CC
AM_PROG_CC_C_O

# Checks for libraries.
AC_CHECK_LIB([rt],[clock_gettime])

# Checks for header files.
AC_CHECK_HEADERS([stdint.h string.h strings.h sys/socket.h netinet/in.h])
AC_CHECK_HEADERS([arpa/inet.h sys/queue.h netdb.h])

# Checks for typedefs, structures, and compiler characteristics.

# Checks for library functions.

AC_CONFIG_FILES([Makefile])
AC_CONFIG_SUBDIRS([libevent])
AC_OUTPUT
